/* ===================================
   RETRO ARCADE THEME - IMPROVEMENTS
   Fixes for user pages, blog, search, and other missing sections
   =================================== */

/* ===================================
   USER PROFILE & ACCOUNT PAGES - ARCADE STYLE
   =================================== */

/* Override default white backgrounds to match arcade theme */
.user-page {
  background-color: var(--arcade-dark);
  min-height: 100vh;
}

.section {
  background: linear-gradient(145deg, var(--arcade-grid), var(--arcade-dark));
  border: 3px solid var(--arcade-purple);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

.section-title {
  font-size: 1rem;
  color: var(--arcade-yellow);
  text-transform: uppercase;
  font-family: 'Press Start 2P', monospace;
  border-bottom: 2px solid var(--arcade-cyan);
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px var(--arcade-yellow);
}

.page-title {
  margin-top: 5px;
  margin-bottom: 20px;
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  font-size: 1.2rem;
  text-shadow: 0 0 15px var(--arcade-cyan);
}

.profile-username {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 20px;
  color: var(--arcade-yellow);
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--arcade-yellow);
}

.user-page .single-title {
  margin-top: 0;
  margin-bottom: 10px;
  padding-top: 25px;
  font-size: 1.3rem;
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  text-shadow: 0 0 15px var(--arcade-cyan);
}

.profile-bio {
  margin-top: 10px;
  color: #cccccc;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
}

.profile-join {
  color: var(--arcade-orange);
  font-style: italic;
  font-size: 0.7rem;
}

.progress-bar {
  background: linear-gradient(90deg, var(--arcade-cyan), var(--arcade-pink));
  box-shadow: 0 0 10px var(--arcade-cyan);
}

.progress {
  background-color: var(--arcade-darker);
  border: 2px solid var(--arcade-purple);
  border-radius: 8px;
  overflow: hidden;
}

.label-xp {
  color: var(--arcade-orange);
  font-style: italic;
  font-size: 0.7rem;
}

/* User dropdown menu - arcade style */
ul.user-links {
  position: absolute;
  background: linear-gradient(145deg, var(--arcade-grid), var(--arcade-dark));
  border: 3px solid var(--arcade-cyan);
  right: 0;
  top: 100%;
  z-index: 2;
  text-align: left;
  list-style: none;
  font-weight: normal;
  border-radius: 8px;
  padding-left: 0;
  box-shadow: 0 0 20px var(--arcade-cyan), 0 0 30px rgba(0, 255, 255, 0.3);
}

ul.user-links li {
  padding: 1rem;
  min-width: 220px;
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(157, 0, 255, 0.3);
  transition: all 0.3s ease;
}

ul.user-links li:hover {
  background: rgba(0, 255, 255, 0.1);
  color: var(--arcade-pink);
}

ul.user-links li:last-child {
  border-bottom: none;
}

ul.user-links.hidden {
  display: none;
}

.user-links hr {
  margin: 0;
  border-color: var(--arcade-purple);
}

.user-avatar {
  margin-left: 20px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid var(--arcade-cyan);
  box-shadow: 0 0 15px var(--arcade-cyan);
  transition: all 0.3s ease;
}

.user-avatar:hover {
  border-color: var(--arcade-pink);
  box-shadow: 0 0 20px var(--arcade-pink);
  transform: scale(1.05);
}

.user-avatar img {
  width: 40px;
  display: block;
}

/* Avatar chooser - arcade style */
.avatar-chooser .col-3 {
  padding-right: 5px;
  padding-left: 5px;
}

.avatar-chooser {
  margin-right: 0;
  margin-left: 0;
}

.input-hidden {
  position: absolute;
  left: -9999px;
}

input[type=radio]:checked + label>img {
  border: 3px solid var(--arcade-cyan);
  box-shadow: 0 0 15px var(--arcade-cyan), 0 0 25px var(--arcade-cyan);
}

.avatar-chooser label {
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  border: 2px solid var(--arcade-purple);
  border-radius: 8px;
  overflow: hidden;
}

.avatar-chooser label:hover {
  border-color: var(--arcade-pink);
  box-shadow: 0 0 10px var(--arcade-pink);
  transform: scale(1.05);
}

/* Profile game lists */
.profile-gamelist-horizontal {
  position: relative;
}

.profile-gamelist-horizontal ul {
  overflow: hidden;
  white-space: nowrap;
  display: block;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.profile-gamelist-horizontal li {
  display: inline-block;
  text-align: center;
}

.profile-game-item {
  max-width: 80px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 15px;
  border: 2px solid var(--arcade-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.profile-game-item:hover {
  border-color: var(--arcade-pink);
  box-shadow: 0 0 15px var(--arcade-pink);
  transform: translateY(-3px);
}

/* Profile comments */
.profile-comment-item {
  position: relative;
  border: 2px solid var(--arcade-purple);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  background: rgba(26, 26, 46, 0.5);
  transition: all 0.3s ease;
}

.profile-comment-item:hover {
  border-color: var(--arcade-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.comment-date {
  font-style: italic;
  color: var(--arcade-cyan);
  font-size: 0.65rem;
}

.delete-comment {
  position: absolute;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  color: var(--arcade-pink);
  transition: all 0.3s ease;
}

.delete-comment:hover {
  color: var(--arcade-orange);
  transform: scale(1.2);
}

/* Navigation buttons for game lists */
.btn-left,
.btn-right {
  position: absolute;
  background: linear-gradient(145deg, var(--arcade-dark), var(--arcade-darker));
  border: 2px solid var(--arcade-cyan);
  border-radius: 50%;
  top: 14px;
  margin: 5px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arcade-cyan);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-left {
  left: 0;
}

.btn-right {
  right: 0;
}

.btn-left:hover,
.btn-right:hover {
  background: var(--arcade-cyan);
  color: var(--arcade-dark);
  box-shadow: 0 0 20px var(--arcade-cyan);
  transform: scale(1.1);
}

/* ===================================
   BLOG POSTS & NEWS - ARCADE STYLE
   =================================== */

.post-container {
  padding: 30px 0;
}

.content-wrapper {
  padding: 20px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.post-item {
  background: linear-gradient(145deg, var(--arcade-grid), var(--arcade-dark));
  border: 3px solid var(--arcade-purple);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
  transition: all 0.3s ease;
}

.post-item:hover {
  border-color: var(--arcade-cyan);
  box-shadow: 0 0 25px var(--arcade-cyan), 0 0 35px rgba(0, 255, 255, 0.3);
  transform: translateY(-5px);
}

.post-media {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.post-thumb {
  flex: 0 0 300px;
  border-right: 3px solid var(--arcade-cyan);
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.post-item:hover .post-thumb img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.post-body {
  flex: 1;
  padding: 25px;
}

.post-title {
  color: var(--arcade-yellow);
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--arcade-yellow);
  line-height: 1.6;
}

.post-title a {
  color: var(--arcade-yellow);
  transition: all 0.3s ease;
}

.post-title a:hover {
  color: var(--arcade-pink);
  text-shadow: 0 0 15px var(--arcade-pink);
}

.post-meta {
  color: var(--arcade-cyan);
  font-size: 0.65rem;
  margin-bottom: 15px;
  font-family: 'Courier New', monospace;
}

.post-intro {
  color: #cccccc;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.more-link {
  display: inline-block;
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 2px solid var(--arcade-cyan);
  border-radius: 6px;
  background: linear-gradient(145deg, var(--arcade-dark), var(--arcade-darker));
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.more-link:hover {
  background: var(--arcade-cyan);
  color: var(--arcade-dark);
  box-shadow: 0 0 20px var(--arcade-cyan);
  transform: translateY(-2px);
}

/* Single blog post page */
.singlepage-post {
  background: linear-gradient(145deg, var(--arcade-grid), var(--arcade-dark));
  border: 3px solid var(--arcade-purple);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
  margin-bottom: 30px;
}

.singlepage-title {
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 0 15px var(--arcade-cyan);
  line-height: 1.6;
}

.page-content,
.single-description,
.single-instructions {
  color: #cccccc;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
}

.page-content p,
.single-description p,
.single-instructions p {
  margin-bottom: 1.2rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--arcade-pink);
  font-family: 'Press Start 2P', monospace;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-content a {
  color: var(--arcade-cyan);
  text-decoration: underline;
}

.page-content a:hover {
  color: var(--arcade-pink);
}

/* Mobile responsive for blog */
@media (max-width: 768px) {
  .post-media {
    flex-direction: column;
  }
  
  .post-thumb {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 3px solid var(--arcade-cyan);
    max-height: 200px;
  }
  
  .post-body {
    padding: 20px;
  }
  
  .post-title {
    font-size: 0.85rem;
  }
}

/* ===================================
   SEARCH BAR & BUTTON - ARCADE STYLE
   =================================== */

.search-bar {
  margin-left: 15px;
}

.search-bar .form-control {
  background: var(--arcade-darker);
  border: 2px solid var(--arcade-cyan);
  color: var(--arcade-cyan);
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  padding: 8px 15px;
  border-radius: 6px 0 0 6px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.search-bar .form-control:focus {
  outline: none;
  border-color: var(--arcade-pink);
  box-shadow: 0 0 15px var(--arcade-pink);
  background: var(--arcade-dark);
}

.search-bar .form-control::placeholder {
  color: rgba(0, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 0.65rem;
}

.btn-search {
  background: linear-gradient(145deg, var(--arcade-purple), var(--arcade-pink));
  border: 2px solid var(--arcade-cyan);
  color: var(--arcade-cyan);
  padding: 8px 15px;
  border-radius: 0 6px 6px 0;
  border-left: none;
  box-shadow: 0 0 10px rgba(157, 0, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: linear-gradient(145deg, var(--arcade-pink), var(--arcade-purple));
  color: var(--arcade-yellow);
  box-shadow: 0 0 20px var(--arcade-cyan);
}

.btn-search i {
  font-size: 0.9rem;
}

/* Search results page */
.game-container-search {
  padding: 30px 0;
}

.game-container-search .item-title {
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-shadow: 0 0 15px var(--arcade-cyan);
  border-bottom: 3px solid var(--arcade-cyan);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.game-container-search p {
  color: var(--arcade-yellow);
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  margin-bottom: 30px;
}

/* ===================================
   CATEGORY DESCRIPTIONS - ARCADE STYLE
   =================================== */

.category-description {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.5), rgba(10, 10, 10, 0.5));
  border: 2px solid var(--arcade-purple);
  border-left: 4px solid var(--arcade-cyan);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0 30px 0;
  color: #cccccc;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
}

.category-description::before {
  content: '▶';
  color: var(--arcade-cyan);
  font-size: 1.2rem;
  margin-right: 10px;
  text-shadow: 0 0 10px var(--arcade-cyan);
}

/* ===================================
   FIXED LOGIN & REGISTER PAGE - ARCADE STYLE
   =================================== */

body.login-page,
body.register-page {
  background-color: var(--arcade-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  font-family: 'Courier New', monospace;
  color: #cccccc;
}

.login-container,
.register-container {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, var(--arcade-grid), var(--arcade-dark));
  border: 3px solid var(--arcade-purple);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 0 30px rgba(157, 0, 255, 0.5), 0 0 50px rgba(0, 255, 255, 0.3);
}

.login-title,
.register-title {
  color: var(--arcade-cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 20px var(--arcade-cyan);
}

.form-group label {
  color: var(--arcade-yellow);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
  width: 100%;
  background: var(--arcade-darker);
  border: 2px solid var(--arcade-cyan);
  color: var(--arcade-cyan);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  padding: 12px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  box-shadow: inset 0 0 5px rgba(0,255,255,0.2);
}

.form-group input:focus {
  outline: none;
  border-color: var(--arcade-pink);
  box-shadow: 0 0 20px var(--arcade-pink), inset 0 0 5px rgba(255,0,255,0.2);
  background: var(--arcade-dark);
  color: var(--arcade-cyan);
}

.btn-login,
.btn-register {
  width: 100%;
  background: linear-gradient(145deg, var(--arcade-purple), var(--arcade-pink));
  border: 3px solid var(--arcade-cyan);
  color: #ffffff;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 15px var(--arcade-purple), 0 0 25px var(--arcade-pink);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-login:hover,
.btn-register:hover {
  background: linear-gradient(145deg, var(--arcade-pink), var(--arcade-purple));
  box-shadow: 0 0 25px var(--arcade-cyan), 0 0 35px var(--arcade-pink);
  transform: translateY(-3px);
  border-color: var(--arcade-yellow);
  color: var(--arcade-yellow);
}

.login-links {
  text-align: center;
  margin-top: 20px;
}

.login-links a {
  color: var(--arcade-cyan);
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.login-links a:hover {
  color: var(--arcade-pink);
  text-shadow: 0 0 10px var(--arcade-pink);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .login-container,
  .register-container {
    padding: 25px 15px;
  }

  .login-title,
  .register-title {
    font-size: 1.2rem;
  }
}


/* ===================================
   FORM ELEMENTS - ARCADE STYLE
   =================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  background: var(--arcade-darker);
  border: 2px solid var(--arcade-cyan);
  color: var(--arcade-cyan);
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--arcade-pink);
  box-shadow: 0 0 15px var(--arcade-pink);
  background: var(--arcade-dark);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

/* Checkbox and radio - arcade style */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--arcade-cyan);
  background: var(--arcade-darker);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  vertical-align: middle;
  margin-right: 10px;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--arcade-cyan);
  border-color: var(--arcade-pink);
  box-shadow: 0 0 10px var(--arcade-cyan);
}

input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--arcade-dark);
  font-size: 14px;
  font-weight: bold;
}

input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--arcade-dark);
}

/* ===================================
   TABLES - ARCADE STYLE
   =================================== */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(145deg, var(--arcade-grid), var(--arcade-dark));
  border: 2px solid var(--arcade-purple);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: linear-gradient(145deg, var(--arcade-dark), var(--arcade-darker));
}

th {
  color: var(--arcade-yellow);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 15px;
  text-align: left;
  border-bottom: 2px solid var(--arcade-cyan);
}

td {
  color: #cccccc;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(157, 0, 255, 0.2);
}

tr:hover td {
  background: rgba(0, 255, 255, 0.05);
}

tr:last-child td {
  border-bottom: none;
}

/* ===================================
   ALERTS & MESSAGES - ARCADE STYLE
   =================================== */

.alert {
  border: 2px solid;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  position: relative;
  padding-left: 50px;
}

.alert::before {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.alert-success {
  background: rgba(0, 255, 0, 0.1);
  border-color: var(--arcade-green);
  color: var(--arcade-green);
}

.alert-success::before {
  content: '✓';
}

.alert-danger,
.alert-error {
  background: rgba(255, 0, 255, 0.1);
  border-color: var(--arcade-pink);
  color: var(--arcade-pink);
}

.alert-danger::before,
.alert-error::before {
  content: '✖';
}

.alert-warning {
  background: rgba(255, 255, 0, 0.1);
  border-color: var(--arcade-yellow);
  color: var(--arcade-yellow);
}

.alert-warning::before {
  content: '⚠';
}

.alert-info {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--arcade-cyan);
  color: var(--arcade-cyan);
}

.alert-info::before {
  content: 'ℹ';
}

/* ===================================
   LOADING & SPINNER - ARCADE STYLE
   =================================== */

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 255, 255, 0.2);
  border-top-color: var(--arcade-cyan);
  border-radius: 50%;
  animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   MOBILE RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 768px) {
  .search-bar {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
  
  .search-bar .form-control {
    min-width: 150px;
  }
  
  .section {
    padding: 15px;
  }
  
  .login-container,
  .register-container {
    margin: 30px 15px;
    padding: 25px;
  }
  
  .profile-username {
    font-size: 1rem;
  }
  
  .singlepage-title {
    font-size: 1.2rem;
  }
}

/* ===================================
   RTL SUPPORT
   =================================== */

[dir="rtl"] .user-links {
  left: 0;
  right: initial;
  text-align: right;
  padding-inline-start: 0px;
}

[dir="rtl"] .user-avatar {
  margin-left: 0;
  margin-right: 20px;
}

[dir="rtl"] .search-bar {
  margin-left: 0;
  margin-right: 15px;
}

[dir="rtl"] .post-thumb {
  border-right: none;
  border-left: 3px solid var(--arcade-cyan);
}

[dir="rtl"] .category-description {
  border-left: none;
  border-right: 4px solid var(--arcade-cyan);
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */

/* Focus visible styles for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--arcade-cyan);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--arcade-cyan);
  color: var(--arcade-dark);
  padding: 8px 16px;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
